package com.cdcas;

import java.util.HashSet;
import java.util.Set;

public class BookHashTest {
    public static void main(String[] args) {
        Set<BookHash> list = new HashSet<>();
        list.add(new BookHash("Java","testa",50));
        list.add(new BookHash("Java","testa",50));
        list.add(new BookHash("C","testb",60));
        list.add(new BookHash("python","testc",80));
        list.forEach(System.out::println);

    }
}
